DoList is a single command which has the ability to handle a scrolling list of text strings. This is a fundamental part of the Macintosh interface, allowing a user to select one or more items from a long list.
As a HyperCard developer, all that is needed is to create a list, pass it to the DoList command, which returns the item(s) that the user selected. This list is composed of several items in a HyperTalk container separated by commas.
The item(s) that the user selects are returned in the property named
'the result'. If the user clicked on the Cancel button, 'the result' will be empty. Otherwise, it will contain one or more items, with the first item being the number of items selected, and the items themselves following.